<html>
<head><meta charset="utf-8"><title>rebuild with LLVM changes · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html">rebuild with LLVM changes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="184780177"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780177" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780177">(Jan 04 2020 at 00:50)</a>:</h4>
<p>if I modify llvm source in-tree and run <code>./x.py build</code>, will it rebuild correctly?</p>



<a name="184780208"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780208" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780208">(Jan 04 2020 at 00:51)</a>:</h4>
<p>I did this and saw it rebuild most/all the compiler artifacts (which doesn't really make sense), but didn't see anything that looked like it was from LLVM's build system</p>



<a name="184780303"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780303" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780303">(Jan 04 2020 at 00:53)</a>:</h4>
<p>I did see <code>Installing libLLVM.so to stage 0</code> so maybe that's it..?</p>



<a name="184780540"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780540" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780540">(Jan 04 2020 at 00:59)</a>:</h4>
<p>hmm no, I had to go into the llvm build directory and run <code>ninja install</code> myself</p>



<a name="184780956"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780956" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780956">(Jan 04 2020 at 01:08)</a>:</h4>
<p><span class="user-mention" data-user-id="116883">@tmandry</span> it will not by default no</p>



<a name="184780962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780962">(Jan 04 2020 at 01:08)</a>:</h4>
<p>there's a stamp file ..</p>



<a name="184780974"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780974" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780974">(Jan 04 2020 at 01:09)</a>:</h4>
<p><code>build/x86_64-unknown-linux-gnu/llvm/llvm-finished-building</code></p>



<a name="184780977"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184780977" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184780977">(Jan 04 2020 at 01:09)</a>:</h4>
<p>I think if you delete that we'll reinvoke ninja and do the appropriate things</p>



<a name="184781120"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/rebuild%20with%20LLVM%20changes/near/184781120" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> tmandry <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/rebuild.20with.20LLVM.20changes.html#184781120">(Jan 04 2020 at 01:13)</a>:</h4>
<p>okay, good to know. thanks.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>